nested quantifiers gate problems

welcome to shbcf.ru